export default {
    namespaced: true,
    state: {
        mapLevel:"1",//当前首页 江苏省1级，下面市 2级
        mapCity:"jiangsu",//省市的json数据名称
        mapName:"江苏省",//省市名
        riNeiOrQian:'yesterday', //平衡分析-日内日前
    },
    mutations: {
        setMapLevel(state, level) {
            state.mapLevel = level;
        },
        setMapCity(state, city) {
            state.mapCity = city;
        },
        setMapName(state, name) {
            state.mapName = name;
        },
        setRiNeiOrQian(state, riNeiOrQian) {
            state.riNeiOrQian = riNeiOrQian;
        }
    }
};
